home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Hacks
/
Hacks ’97
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Context
/
ContextUser.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1997-06-28
|
339 b
|
26 lines
|
[
TEXT/CWIE
]
// ContextUser.h
#ifndef ContextUser_h
#define ContextUser_h
#ifndef Context_h
#include "Context.h"
#endif
class ContextUser
{
private:
Context *const context;
public:
ContextUser();
~ContextUser();
Context *Context() const { return context; }
void SetContext() const
{ Context::Set( context ); }
};
#endif